// 应用全局配置
module.exports = {
	baseUrl: 'http://101.35.209.214:8080/p-h-broadband',
	devServer: {
		host: '0.0.0.0',
		// host: '101.35.209.214',
		port: 8080,
		open: true,
		public: 'http://101.35.209.214:8080',
		proxy: {
			// detail: https://cli.vuejs.org/config/#devserver-proxy
			'/p-h-broadband': {
				target: process.env.VUE_APP_API_URL,
				changeOrigin: true,
				pathRewrite: {
					['^' + '/p-h-broadband']: ''
				}
			}
		},
		disableHostCheck: true
	},
	// 应用信息
	appInfo: {
		// 应用名称
		name: "ruoyi-app",
		// 应用版本
		version: "1.1.0",
		// 应用logo
		logo: "/static/logo.png",
		// 官方网站
		site_url: "http://ruoyi.vip",
		// 政策协议
		agreements: [{
				title: "隐私政策",
				url: "https://ruoyi.vip/protocol.html"
			},
			{
				title: "用户服务协议",
				url: "https://ruoyi.vip/protocol.html"
			}
		]
	}
}